package com.atguigu.lease.common.constant;

/**
 * @author 李俊伟
 * @date 2024/12/25 11:19
 */
public class RedisConstant {
    // 后端登录的固定前缀
    public static final String ADMIN_LOGIN_PREFIX = "admin:login";
    // 图片过期时间1分钟
    public static final Integer ADMIN_LOGIN_CAPTCHA_TTL_SEC = 60;

    public static final String APP_LOGIN_PREFIX = "app:login:";
    public static final Integer APP_LOGIN_CODE_RESEND_TIME_SEC = 60;
    public static final Integer APP_LOGIN_CODE_TTL_SEC = 60 * 10;
}